package com.wxs.common.service;

import java.util.List;

import com.wxs.common.pojo.RoleGroup;
import com.wxs.common.utils.DataGridModel;
import com.wxs.common.utils.DataResult;

/**
 * 角色组
 * 
 * @author admin
 *
 */
public interface RoleGroupService {
	public DataResult queryPage(String name, Boolean enabled, DataGridModel dgm);

	public RoleGroup findById(Integer id);

	public int saveEdit(RoleGroup rolegroup);

	public int saveAdd(RoleGroup rolegroup);

	public Boolean checkName(String name, Integer id);

	public int deleteById(Integer id);

	public int saveRoles(String[] roleids, Integer role_group_id);

	public List<RoleGroup> listAll();
}
